import {Actor, Action, IMap} from 'plume2'
import {Map, List} from 'immutable'
export default class TemplateActor extends Actor {
    defaultState() {
        return {
            list: [
            ],
            getUrl:""
        }
    }

    @Action('tpl:getList')
    getList(state: IMap, data) {
        return state.set("list", data);
    }
    @Action('tpl:getTplUrl')
    getUrl(state: IMap, data) {
        return state.set("getUrl", data);
    }

}